package cn.tedu.egmvc3.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 枚举状态码
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(5000, "操作成功"),
    OPERATION_FAILED(6000, "操作失败"),
    THROWABLE_ERROR(6666, "发生了一个未知错误");
    private Integer state;
    private String message;
}
